package lac.serviceuint.job;

import lac.serviceuint.job.cfg.ServiceUnitJob;

public interface JobInterceptor {

	/**
	 * job执行前
	 */
	public void beforeExecute(String execId,ServiceUnitJob job,Object[] params);
	
	
	/**
	 * job执行后
	 */
	public void afterExecute(String execId,ServiceUnitJob job,Object[] params,Exception e);
	
	/**
	 * 顺序
	 * @return
	 */
	public int sort();
}
